from base import Yaml, Path
from page.personage.personal_center_page import PersonalCenterPage


class WaybillManagementPage(PersonalCenterPage):
    __config = Yaml.get_config_as_dict(Path.get_actual_path_by_current_file(__file__, "personage.yaml"))["WaybillManagementPage"]
    def select_date_query(self):
        """
        选择两个月的时间查询
        :return:
        """
        self.driver.click(self.__config["SELECT_SEND"])
        self.driver.click(self.__config["START_TIME"])
        self.driver.click(self.__config["END_TIME"])



